Iterate over treeView

I'm pretty new to DXL, though I've been using DOORS for years. Having just attended a DXL course, I'm playing with some utilities and I have a question.

I have populated a treeView on a dialog box, and I now want to offer the user the option of saving off the data. Can I iterate the treeView to extract the data to file? I need all the data in there, irrespective of what branches the user has expanded.

Thanks.
Craig_Cordrey - Wed Oct 19 09:43:13 EDT 2011